body {
    padding:.5rem .5rem 0 ;
}
.contit {
    color:#333;
    font-size:.8rem;
    text-indent:.5rem;
    display:inline-block;
}
.content {
    border:1px solid #bfbfbf;
    border-radius:.2rem;
    width:100%;
    height:95%;
    overflow:auto;
}
.insbuttom {
    width:100%;
    height:3rem;
}
.btnstyle {
    color:#808c98;
    font-size:.7rem;
    width:5.4rem;
    height:1.1rem;
    margin-left:.7rem;
    background-color:transparent;
    border:1px solid #808c98;
    border-radius:.4rem;
    margin-top:1.4rem;
    float:left;
    outline:none;
    text-align:left;
}
.btnstyle:hover {
   border-color:#acd354;
   color:#acd354;
}
.searchtext {
    display:block;
    width:9rem;
    height:1.5rem;
    border-radius:.2rem;
    border:1px solid #a0a0a0;
    float:right;
    margin-top:.9rem;
    margin-right:.7rem;
    padding:0 .5rem;
    font-size:.7rem;
    outline:none;
}
.insactio {
    width:4rem;
    height:1.5rem;
    border-radius:.2rem;
    background-color:#f65541;
    border:none;
    font-size:.8rem;
    color:#fff;
    float:right;
    margin-top:.9rem;
    margin-right:.7rem;
}
.btnimages1,
.btnimages2,
.btnimages3,
.btnimages4 {
    display:block;
    float:left;
    width:.8rem;
    height:.8rem;
    margin-top: .1rem;
    margin-left: .5rem;
    margin-right: .2rem;
}
.btnimages1 {
    background-image:url(../images/inspect/btn_suiji.png);
    background-repeat:no-repeat;
    background-position: center center;
}
.btnimages2 {
    background-image:url(../images/inspect/btn_piliang.png);
    background-repeat:no-repeat;
    background-position: center center;
}
.btnimages3 {
    background-image:url(../images/inspect/btn_quanbu.png);
    background-repeat:no-repeat;
    background-position: center center;
}
.btnimages4 {
    background-image:url(../images/inspect/btn_dingshi.png);
    background-repeat:no-repeat;
    background-position: center center;
}
.btnstyle:hover .btnimages1{
    background-image:url(../images/inspect/btn_suiji2.png);
}
.btnstyle:hover .btnimages2 {
    background-image:url(../images/inspect/btn_piliang2.png);
}
.btnstyle:hover .btnimages3 {
    background-image:url(../images/inspect/btn_quanbu2.png);
}
.btnstyle:hover .btnimages4 {
    background-image:url(../images/inspect/btn_dingshi2.png);
}

#pager1_left {
    width:10%;
}
#pager1_center {
    width:80%;
}
#pager1_right {
    width:10%;
}
.jqGrid_wrapper {
    /*font-size:.7rem;*/
}

/*--对layer已有的css样式修改--*/
#layui-layer1,
#layui-layer2,
#layui-layer3,
#layui-layer4,
#layui-layer5,
#layui-layer6{
    border-radius:.5rem;
}

.layui-layer-title {
    border-radius:.5rem .5rem 0 0;
    background-color:#f65541;
    color:#fff;
    font-size:.9rem;
    text-indent:1rem;
    background-image:url(../images/inspect/btn_suiji3.png);
    background-repeat:no-repeat;
    background-position:.6rem center  ;
}
.layui-layer-btn {
    text-align:center;
}
/*--随机查岗弹窗 start--*/
#random .box {
	box-sizing: border-box;
    height: 4.5rem;
    margin: 0 auto;
    
    padding-top: 1.5rem;
    width: 9rem;        }
#random .title {
	float:left;
	height:1.6rem;
	line-height:1.6rem;
	text-align:center;
	color:#666;
	margin-right:.5rem;
	font-size: .9rem;
        }
#random input {
	float:left;
	display:block;
	width:2.5rem;
	height:1.6rem;
	margin:0;
	text-align:center;
	font-size:.9rem;
	padding:0 .2rem;
	border:1px solid #bfbfbf;
	border-radius:.3rem;
	color:#666;
        }
#random .buttonsub {
	background-color: #f65541;
	border: medium none;
	border-radius: 0.2rem;
	clear: none;
	color: #fff;
	display: block;
	font-size: 0.8rem;
	height: 1.6rem;
	margin: 0 auto;
	width: 4.5rem;
        }
#random .btnbottom {
	border-top: 1px solid #f56541;
	box-sizing: border-box;
	float: left;
	height: 3rem;
	padding-top: 0.5rem;
	width: 100%;
        }

/*--定时查岗弹窗 start--*/
#settime {
    color:#333;
}
.routine {
    width:100%;
    height:8rem;
    position:relative;

}
.rtitop {
    height:2.5rem;
    padding:0 .8rem;
    font-size:.8rem;
}
.rtitop input,
.setimeb input,
.settime_add_bl {
    width:3.5rem;
    height:1.5rem;
    background-color:#fff;
    border:1px solid #bfbfbf;
    border-radius:.2rem;
    margin:.5rem;
    outline:none;
    padding:0 .5rem;
    background-image:url(../images/inspect/settime_input_bg.png);
    background-repeat:no-repeat;
    background-position:2.3rem center;
    background-size:contain;
    position:relative;
}
.settime_add {
    /*新增定时设置点*/
    position:absolute;
    top:2.5rem;
    left:0;
    background-color:#f4f4f4;
    width:100%;
    height:2.5rem;
    display:none;
    z-index:1;
}
.settime_add input {
    background-color:transparent;
}
.settime_add_boxa {
    display:inline-block;
    width:auto;
    height:100%;
    float:left;
}
.settime_add_bl {
    display:inline-block;
    float:left;
    text-align:left;
}
.settime_add_bl::before {
        content: "";
    display: block;
    width: .5rem;
    height: .5rem;
    background-image: url(../images/inspect/settime_input_right.png);
    background-repeat: no-repeat;
    position: absolute;
    background-position: center center;
    right: .3rem;
    top: 50%;
    margin-top: -.25rem;
    background-size: 100%;
}
input.weektext {
    display: block;
    float: left;
    font-size: .5rem;
    width: 10.7rem;
    line-height: 1.2rem;
    background-image:none;
    outline:none;
    padding: 0 .5rem;
    resize:none;

}

.rtibody {
    height:5.5rem;
    overflow-x:hidden;
    overflow-y:auto;
    padding:0 .8rem;
}
.onlytime {
    height:5rem;
    width:100%;
    border-top:1px solid #bfbfbf;
}
.olytop {
    height:2.5rem;
    padding:0 .8rem;

}
.settime_tit {
    font-size:.8rem;
    line-height:2.5rem;
    display:block;
    float:left;
    margin-right: 4rem;
}
.settime_btn{
    display:block;
    float:right;
    font-size:.7rem;
    width:2.9rem;
    height:1.1rem;
    border:1px solid #bfbfbf;
    border-radius:.6rem;
    background-color:transparent;
    outline:none;
    margin-top:.7rem;
}
.addtime {
    border-color:#acd354;
    color:#acd354;
    width:4rem;
}
    .addtime:hover {
        color:#fff;
        background-color:#acd354;
    }
#weekselect {
    padding-top:2rem;
}
#weekselect label {
    display:block;
    text-align:center;
    font-size:.8rem;
    line-height:1.2rem;
}
.addtime_btna {
    margin-right:.8rem;
    background-color:#fff;
}
.setimeb {
    height:2.5rem;
    width:100%;
    background-color:#f4f4f4;
    overflow:hidden;
    padding:0 .8rem;

}
.setok {
    width:4.5rem;
    height:1.5rem;
    color:#fff;
    background-color:#f65541;
    margin-top:.7rem;
    border:none;
    border-radius:.2rem;
    float:right;
    margin-right:.8rem;
}
/*--定时显示rtibody设定具体时间--*/
.rtibody_row {
    display:block; 
    width:100%; 
    height:1.5rem;
}
.rtibody_row > input {
    display:block;
    float:left;
    outline:none;
    color:#333;
    font-size:.7rem;
    line-height:.9rem;
    border:none;
    height:1rem;
}
.rtibody_row > span {
    display:block;
    float:left; 
    font-size:.7rem;
    line-height:.9rem;
    height:1rem;
    color:#737373;   
}
.rtibody input[name=rtibody_hour] {
    width:1.5rem;
    text-align:center;
}
.rtibody input[name=rtibody_min] {
    width:1.5rem;
    text-align:center;
}
.rtibody input[name=rtibody_week] {
    margin: 0 1rem;
    width:11rem;
    color:#737373;
}
.rtibody_row > input:read-only {
    color:#737373;
}
.rtibody_row > button {
    width:3rem;
    height:1rem;
    border:1px solid #bfbfbf;
    float:right;
    margin-left:.5rem;
    outline:none;
    border-radius:.5rem;
    background-color:transparent;
}
button.rev {
}
button.sub {
}
button.del {
}

/*----------------切换开关 start-------------------*/
.lbl {
    background: #a1a1a1 none repeat scroll 0 0;
    border-radius: 0.5rem;
    box-shadow: 1px 2px 2px #666 inset;
    cursor: pointer;
    display: block;
    height: 1.1rem;
    position: relative;
    transition: all 0.3s ease 0s;
    width: 2.5rem;
    float:left; /*元素后面有span，设置浮动使span浮动同行*/
}
.lbl:after {
    border-radius: .5rem;
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.05);
    content: "";
    display: block;
    height: 1rem;
    left: .1rem;
    position: absolute;
    top: .05rem;
    transition: all 0.3s ease 0s;
    width: 1rem;
    background-color:#fff;
}
.lbl:active:after {
  transform: scale(1.15, 0.85);
}
.cbx:checked ~ label {
  background: #4cc763;
}
.cbx:checked ~ label:after {
  left: 1.4rem;
  background: #fff;
}
.cbx:disabled ~ label {
  background: #d5d5d5;
  pointer-events: none;
}
.cbx:disabled ~ label:after {
  background: #bcbdbc;
}
.hidden {
  display: none;
}
/*--------切换开关 end----------*/









@media screen and (min-width:1157px) {
    html {
        font-size:28px;
    }
}